package com.dawn.module.hospital.controller.app.order.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * @description:
 * @author: cnsu-cmh
 * @time: 2024/8/14 11:36
 */
@Schema(description = "支付-退费 APP - Request VO")
@Data
@ToString(callSuper = true)
public class OrderRefundReqVO {

    @NotBlank(message = "接口用户名不能为空")
    @Schema(description = "用户名")
    @JsonProperty(value = "USERNAME")
    private String username;

    @NotBlank(message = "接口密码不能为空")
    @Schema(description = "接口密码")
    @JsonProperty(value = "PASSWORD")
    private String password;

    @NotBlank(message = "订单号不能为空")
    @Schema(description = "订单号")
    @JsonProperty(value = "ORDERNO")
    private String orderNo;

    @Schema(description = "交易流水号")
    @JsonProperty(value = "tradeNo")
    private String tradeNo;

    @NotBlank(message = "单据号不能为空")
    @Schema(description = "单据号")
    @JsonProperty(value = "SEQNO")
    private String seqNo;

    @NotBlank(message = "订单类型不能为空")
    @Schema(description = "订单类型")
    @JsonProperty(value = "TRADETYPE")
    private String tradeType;

    @NotBlank(message = "退款金额不能为空")
    @Schema(description = "退款金额")
    @JsonProperty(value = "REFUNDFEE")
    private String refundFee;

    @Schema(description = "客户端ip")
    private String clientIp;

    @Schema(description = "描述")
    private String des;
}
